package com.hmall.item.config;


import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * x
 *
 * @Description RabbitConfig
 * @Author kzw
 * @Date 2024-11-14
 */
@Configuration
public class RabbitConfig {
    /**
     * 声明队列-itemStatus.queue
     * @return
     */
    @Bean
    public Queue fanoutQueue(){
        return new Queue("itemStatus.queue");
    }
}
